﻿<Window x:Class="OpenXMLValidator.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Open XML Validator" Height="520" Width="683">
    <Grid Height="491" Width="670">
        <Grid.RowDefinitions>
            <RowDefinition Height="85*" />
            <RowDefinition Height="226*" />
        </Grid.RowDefinitions>
        <Button Content="Open file" Height="28" HorizontalAlignment="Right" Margin="0,85,33,0" Name="btnOpenFile" VerticalAlignment="Top" Width="96" FontFamily="Calibri" FontSize="14" Click="BtnOpenFileClick" />
        <ListView Grid.Row="1" ItemsSource="{Binding}" Height="337" HorizontalAlignment="Left" Margin="12,8,0,0" Name="lstErrors" VerticalAlignment="Top" Width="646">
            <ListView.View>
                <GridView>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Node.LocalName}" Header="Node" Width="100"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Description}" Header="Error description" Width="350"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Path.XPath}" Header="Location" Width="200"/>

                </GridView>
            </ListView.View>
        </ListView>
        <TextBlock Height="48" HorizontalAlignment="Left" Margin="25,38,0,0" Name="txbOpenXMLValTitle" Text="Open XML Validator" VerticalAlignment="Top" Width="351" FontSize="28" FontWeight="Bold" />
    </Grid>
</Window>
